package edu.sandau.app.basic.vo;

import edu.sandau.app.basic.golbal.GlobalEnum;

public class BasicMsg {
    private GlobalEnum.OperateResult operateResult = GlobalEnum.OperateResult.UNSUSS;
    private String errorMsg = "";
    private GlobalEnum.ErrorCode errorCode = GlobalEnum.ErrorCode.UNKNOWN;
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
    public String getErrorMsg() {
        return this.errorMsg;
    }
    public GlobalEnum.OperateResult getOperateResult() {
        return this.operateResult;
    }
    public void setErrorCode(GlobalEnum.ErrorCode errorCode) {
        this.errorCode = errorCode;
    }
    public void setOperateResult(GlobalEnum.OperateResult operateResult) {
        this.operateResult = operateResult;
    }
    public GlobalEnum.ErrorCode getErrorCode() {
        return this.errorCode;
    }
}
